package com.yupi.yupao.service;

import com.yupi.yupao.model.domain.Message;
import com.yupi.yupao.model.domain.TeamMessage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.yupao.model.domain.User;

import java.util.List;

/**
 *
 */
public interface TeamMessageService extends IService<TeamMessage> {
    // 新增消息
    boolean insertMessage(TeamMessage teamMessage);

    //根据队伍id，查询TeamMessage
   List<TeamMessage> getMessageByTid(long teamId);
}
